<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../js/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/share/common.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left header-left"></a>
			<h1 class="mui-title" id="title"></h1>
		</header>
		<script>
			document.addEventListener("plusready", PlusReady, false);

			function PlusReady() {
				var current = plus.webview.currentWebview();
				document.getElementById("title").innerText=current.title;
				var child = plus.webview.create("marketWeb", "child", {
					top: "45px",
					bottom: '0px',
					position: 'dock',
					dock: 'bottom',
					bounce: 'vertical'
				});
				child.loadURL(current.urls)
				current.append(child)
				
			}
		</script>
	</body>

</html>